﻿using System;
using System.Data;
using System.Text;
using System.Data.SqlClient;
using Maticsoft.DBUtility;//Please add references
namespace QunYing.DAL
{
	/// <summary>
	/// 数据访问类:UserPayment
	/// </summary>
	public partial class UserPayment
	{
        /// <summary>
        /// 所有记录
        /// </summary>
        /// <returns></returns>
        public DataTable GetAll(string id)
        {
            string strSql = "select * from dbo.UserPayment where 用户ID='"+id+"' order by 缴费时间 desc";
            return DbHelperSQL.Query(strSql).Tables[0];
        }
	}
}

